package cn.dogger.easyboot.system.domain.vo;

import lombok.Data;
import lombok.Builder;

import java.io.Serial;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.experimental.Accessors;

/**
 * 部门表
 *
 * @author dogger
 * 2022-04-16
 */
@Data
@ApiModel
@Accessors(chain = true)
public class SysDeptVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "部门id")
    private Long deptId;

    @ApiModelProperty(value = "父部门id")
    private Long parentId;

    @ApiModelProperty(value = "祖级列表")
    private String ancestors;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "显示顺序")
    private Integer orderNum;

    @ApiModelProperty(value = "负责人")
    private String leader;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "删除标志（1代表存在 0代表删除）")
    private String delFlag;
}